#include "hrvana.h"
#include "QFile"
#include <QApplication>

void setStyle();
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    setStyle();
    HRVAna w;
    w.show();
    return a.exec();
}
void setStyle()
{
    QFile file(":/qss/style1.css");
    QString styleSheet;
    file.open(QFile::ReadOnly);
    styleSheet = QLatin1String(file.readAll());
    qApp->setStyleSheet(styleSheet);
    file.close();
}
